package cn.iocoder.yudao.module.shop.convert.itemtimes;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.itemtimes.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.itemtimes.ShopItemTimesDO;

/**
 * 店内项目次数 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopItemTimesConvert {

    ShopItemTimesConvert INSTANCE = Mappers.getMapper(ShopItemTimesConvert.class);

    ShopItemTimesDO convert(ShopItemTimesCreateReqVO bean);

    ShopItemTimesDO convert(ShopItemTimesUpdateReqVO bean);

    ShopItemTimesRespVO convert(ShopItemTimesDO bean);

    List<ShopItemTimesRespVO> convertList(List<ShopItemTimesDO> list);

    PageResult<ShopItemTimesRespVO> convertPage(PageResult<ShopItemTimesDO> page);

    List<ShopItemTimesExcelVO> convertList02(List<ShopItemTimesDO> list);

}
